home *** CD-ROM | disk | FTP | other *** search
Text File | 1997-06-28 | 379 b | 20 lines | [TEXT/CWIE] |
- // ArrangementLoop.cp
-
- #ifndef ArrangementLoop_h
- #include "ArrangementLoop.h"
- #endif
-
- ArrangementLoop::ArrangementLoop( ArrangementBase& theArrangement )
- : arrangement( theArrangement ),
- index( 0 )
- {
- for ( ; Unfinished() && (*this)->IsEmpty(); index++ )
- ;
- }
-
- void ArrangementLoop::operator++()
- {
- for ( index++; Unfinished() && (*this)->IsEmpty(); index++ )
- ;
- }
-